package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党课结业证书对象 party_course_certificate
 * 
 * @author ruoyi
 * @date 2025-10-16
 */
public class PartyCourseCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证书ID */
    private Long certificateId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNo;

    /** 证书文件路径 */
    @Excel(name = "证书文件路径")
    private String certificateFile;

    /** 发证日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发证日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 校验状态（0待校验 1校验通过 2校验失败） */
    @Excel(name = "校验状态", readConverterExp = "0=待校验,1=校验通过,2=校验失败")
    private String verifyStatus;

    /** 校验时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "校验时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verifyTime;

    /** 校验备注 */
    @Excel(name = "校验备注")
    private String verifyRemark;

    /** 删除标志（0存在 2删除） */
    private String delFlag;

    public void setCertificateId(Long certificateId) 
    {
        this.certificateId = certificateId;
    }

    public Long getCertificateId() 
    {
        return certificateId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCertificateNo(String certificateNo) 
    {
        this.certificateNo = certificateNo;
    }

    public String getCertificateNo() 
    {
        return certificateNo;
    }

    public void setCertificateFile(String certificateFile) 
    {
        this.certificateFile = certificateFile;
    }

    public String getCertificateFile() 
    {
        return certificateFile;
    }

    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }

    public void setVerifyStatus(String verifyStatus) 
    {
        this.verifyStatus = verifyStatus;
    }

    public String getVerifyStatus() 
    {
        return verifyStatus;
    }

    public void setVerifyTime(Date verifyTime) 
    {
        this.verifyTime = verifyTime;
    }

    public Date getVerifyTime() 
    {
        return verifyTime;
    }

    public void setVerifyRemark(String verifyRemark) 
    {
        this.verifyRemark = verifyRemark;
    }

    public String getVerifyRemark() 
    {
        return verifyRemark;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("certificateId", getCertificateId())
            .append("userId", getUserId())
            .append("certificateNo", getCertificateNo())
            .append("certificateFile", getCertificateFile())
            .append("issueDate", getIssueDate())
            .append("verifyStatus", getVerifyStatus())
            .append("verifyTime", getVerifyTime())
            .append("verifyRemark", getVerifyRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
